Minor improvements to make_formatted_string.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Jul 2012 16:06:19 +0000 (09:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Jul 2012 16:06:19 +0000 (09:06 -0700)
commitbcd69b5456e65f1534c8ffbef5332ef936c90955
tree9f4ad04e703b7430b08ff00b090fdc77f4347404
parent0b440be21ffbae7d1dd31ee0002fabb25a914522
Minor improvements to make_formatted_string.

* alloc.c (make_formatted_string): Prefer int to ptrdiff_t
where int is good enough, as vsprintf returns an int.
* lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF.
src/ChangeLog
src/alloc.c
src/lisp.h